package com.shopping;

import com.shopping.util.MyAspect;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

/**
 * Hello world!
 *
 */
@SpringBootApplication
public class App 
{

    @Bean(name = "myAspect")
    public MyAspect initAspect(){
        return new MyAspect();
    }

    public static void main( String[] args )
    {
        SpringApplication.run(App.class, args);
//        System.out.println( "Hello World!" );
    }
}
